home *** CD-ROM | disk | FTP | other *** search
/ 3D World 115 / 3DW_115.iso / DiscContent / Tutorial Files / Compositing Tips / data / Scene files / hueMix.nk < prev   
Text File  |  2009-01-29  |  2KB  |  135 lines

  1. set cut_paste_input [stack 0]
  2. version 4.8200
  3. push $cut_paste_input
  4. push 0
  5. Group {
  6.  inputs 2
  7.  name hueMix
  8.  tile_color 0x7aa9ff00
  9.  note_font 1
  10.  note_font_size 16
  11.  selected true
  12.  xpos -162
  13.  ypos -165
  14.  help "Transfers the hue and/or saturation from A onto B. In general, the A input should be blurred, and the Sat Transfer should either be equal to the hue transfer or else zero. Node courtesy of Matthew Doll. www.matthewdoll.com mattdoll@gmail.com"
  15.  addUserKnob {20 Huetab l "Hue Mix"}
  16.  addUserKnob {7 brBlurAmt l "BG Blur:" R 0 600}
  17.  addUserKnob {4 whichBlur l "Do Blur:" M {"Before Conversion" "After Conversion"}}
  18.  addUserKnob {26 "" l ""}
  19.  addUserKnob {7 hmix l "Hue Transfer:"}
  20.  hmix 1
  21.  addUserKnob {7 sMix l "Saturation Transfer:"}
  22.  sMix 1
  23.  addUserKnob {26 "" l ""}
  24.  addUserKnob {7 hueMix_mix l Mix:}
  25.  hueMix_mix 1
  26. }
  27.  Input {
  28.   inputs 0
  29.   name A
  30.   xpos -208
  31.   ypos 47
  32.   number 1
  33.  }
  34.  Blur {
  35.   size {{parent.brBlurAmt}}
  36.   name Blur2
  37.   xpos -208
  38.   ypos 117
  39.   disable {{parent.whichBlur}}
  40.  }
  41.  Colorspace {
  42.   colorspace_out HSV
  43.   illuminant_out F7
  44.   name Colorspace4
  45.   xpos -208
  46.   ypos 158
  47.  }
  48.  Blur {
  49.   size {{parent.brBlurAmt}}
  50.   name Blur1
  51.   xpos -208
  52.   ypos 185
  53.   disable {{"1 - parent.whichBlur"}}
  54.  }
  55. set N7d46850 [stack 0]
  56. push $N7d46850
  57.  Input {
  58.   inputs 0
  59.   name B
  60.   xpos -500
  61.   ypos 64
  62.  }
  63.  Dot {
  64.   name Dot2
  65.   xpos -466
  66.   ypos 136
  67.  }
  68. set N7d48478 [stack 0]
  69.  Colorspace {
  70.   colorspace_out HSV
  71.   illuminant_out F7
  72.   name Colorspace1
  73.   xpos -395
  74.   ypos 132
  75.  }
  76.  Copy {
  77.   inputs 2
  78.   from0 rgba.red
  79.   to0 rgba.red
  80.   from1 -rgba.green
  81.   to1 -rgba.green
  82.   mix {{parent.hmix}}
  83.   name hueTransfer
  84.   xpos -395
  85.   ypos 185
  86.  }
  87.  Copy {
  88.   inputs 2
  89.   from0 rgba.green
  90.   to0 rgba.green
  91.   from1 -rgba.green
  92.   to1 -rgba.green
  93.   mix {{parent.sMix}}
  94.   name satTransfer
  95.   xpos -395
  96.   ypos 261
  97.   disable {{"1 - parent.hSat"}}
  98.  }
  99.  Colorspace {
  100.   colorspace_in HSV
  101.   illuminant_out F7
  102.   name Colorspace6
  103.   xpos -395
  104.   ypos 346
  105.  }
  106. push $N7d48478
  107.  Dot {
  108.   name Dot1
  109.   xpos -466
  110.   ypos 540
  111.  }
  112.  Dissolve {
  113.   inputs 2
  114.   which {{parent.hueMix_mix}}
  115.   name Dissolve1
  116.   xpos -395
  117.   ypos 529
  118.  }
  119.  Output {
  120.   name Output1
  121.   xpos -395
  122.   ypos 735
  123.  }
  124.  StickyNote {
  125.   inputs 0
  126.   name StickyNote1
  127.   label "Node courtesy of mattdoll@gmail.com"
  128.   note_font 1
  129.   note_font_size 25
  130.   selected true
  131.   xpos -261
  132.   ypos 443
  133.  }
  134. end_group
  135.